package rush.edu.wechat.facade.user.entity;

/**
 * <p>
 * 具体资源
 * </p>
 *
 * @author 梅景飞
 * @since 2018-01-19
 */

public class Resource{

    private static final long serialVersionUID = 1L;


	private Integer id;
	private String name;
	private String source;
	private Integer menu;
	private Integer displayorder;


	public Integer getId() {
		return id;
	}

	public Resource setId(Integer id) {
		this.id = id;
		return this;
	}

	public String getName() {
		return name;
	}

	public Resource setName(String name) {
		this.name = name;
		return this;
	}

	public String getSource() {
		return source;
	}

	public Resource setSource(String source) {
		this.source = source;
		return this;
	}

	public Integer getMenu() {
		return menu;
	}

	public Resource setMenu(Integer menu) {
		this.menu = menu;
		return this;
	}

	public Integer getDisplayorder() {
		return displayorder;
	}

	public Resource setDisplayorder(Integer displayorder) {
		this.displayorder = displayorder;
		return this;
	}



	@Override
	public String toString() {
		return "Resource{" +
			"id=" + id +
			", name=" + name +
			", source=" + source +
			", menu=" + menu +
			", displayorder=" + displayorder +
			"}";
	}
}
